package com.intelligent.ispc.foundation.poi;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;

/**
 * Created by Peter on 2016/4/18.
 */
public class ExSheet implements List<ExSheet> {
    private String name;
    private List<ExCell> exCells;
    private int index;

    public String getName() {
        if (name != null && name.length() > 26) {
            return name.substring(0, 25) + "_" + index;
        }
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ExCell> getExCells() {
        return exCells;
    }

    public void setExCells(List<ExCell> exCells) {
        this.exCells = exCells;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }

    @Override
    public boolean contains(Object o) {
        return false;
    }

    @Override
    public Iterator<ExSheet> iterator() {
        return null;
    }

    @Override
    public Object[] toArray() {
        return new Object[0];
    }

    @Override
    public <T> T[] toArray(T[] a) {
        return null;
    }

    @Override
    public boolean add(ExSheet exSheet) {
        return false;
    }

    @Override
    public boolean remove(Object o) {
        return false;
    }

    @Override
    public boolean containsAll(Collection<?> c) {
        return false;
    }

    @Override
    public boolean addAll(Collection<? extends ExSheet> c) {
        return false;
    }

    @Override
    public boolean addAll(int index, Collection<? extends ExSheet> c) {
        return false;
    }

    @Override
    public boolean removeAll(Collection<?> c) {
        return false;
    }

    @Override
    public boolean retainAll(Collection<?> c) {
        return false;
    }

    @Override
    public void clear() {

    }

    @Override
    public ExSheet get(int index) {
        return null;
    }

    @Override
    public ExSheet set(int index, ExSheet element) {
        return null;
    }

    @Override
    public void add(int index, ExSheet element) {

    }

    @Override
    public ExSheet remove(int index) {
        return null;
    }

    @Override
    public int indexOf(Object o) {
        return 0;
    }

    @Override
    public int lastIndexOf(Object o) {
        return 0;
    }

    @Override
    public ListIterator<ExSheet> listIterator() {
        return null;
    }

    @Override
    public ListIterator<ExSheet> listIterator(int index) {
        return null;
    }

    @Override
    public List<ExSheet> subList(int fromIndex, int toIndex) {
        return null;
    }
}
